import Layout from '@/layout'

const componentsDemo = {
  path: '/components',
  component: Layout,
  redirect: '/components/list',
  meta: {
    title: '组件示例页面',
    icon: 'nested'
  },
  children: [
    {
      path: '/componentDemo/tinymce',
      name: 'TinymceDemo',
      component: () => import('@/views/componentDemo/TinymceDemo.vue'),
      meta: { title: '富文本示例' }
    },
    {
      path: '/componentDemo/listTable',
      name: 'ListTableDemo',
      component: () => import('@/views/componentDemo/ListTable.vue'),
      meta: { title: '表格示例' }
    }
  ]
}

export default componentsDemo
